package cn.aj.user.mapper;

import cn.aj.user.domain.User;
import cn.aj.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author aj
 * @since 2022-11-24
 */
public interface UserMapper extends BaseMapper<User> {
    // 根据电话查询,判断电话是否注册过
    User loadPhone(String phone);
    // 根据邮箱查询,判断邮箱是否注册过
    User loadEmail(String email);
}
